Optimal. Leaf size=69 \[ \frac {2}{3 a n \left (a+b x^n\right )^{3/2}}+\frac {2}{a^2 n \sqrt {a+b x^n}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b x^n}}{\sqrt {a}}\right )}{a^{5/2} n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {272, 53, 65,
214} \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b x^n}}{\sqrt {a}}\right )}{a^{5/2} n}+\frac {2}{a^2 n \sqrt {a+b x^n}}+\frac {2}{3 a n \left (a+b x^n\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 53
Rule 65
Rule 214
Rule 272
Rubi steps
\begin {align*} \int \frac {1}{x \left (a+b x^n\right )^{5/2}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{x (a+b x)^{5/2}} \, dx,x,x^n\right )}{n}\\ &=\frac {2}{3 a n \left (a+b x^n\right )^{3/2}}+\frac {\text {Subst}\left (\int \frac {1}{x (a+b x)^{3/2}} \, dx,x,x^n\right )}{a n}\\ &=\frac {2}{3 a n \left (a+b x^n\right )^{3/2}}+\frac {2}{a^2 n \sqrt {a+b x^n}}+\frac {\text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,x^n\right )}{a^2 n}\\ &=\frac {2}{3 a n \left (a+b x^n\right )^{3/2}}+\frac {2}{a^2 n \sqrt {a+b x^n}}+\frac {2 \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x^n}\right )}{a^2 b n}\\ &=\frac {2}{3 a n \left (a+b x^n\right )^{3/2}}+\frac {2}{a^2 n \sqrt {a+b x^n}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b x^n}}{\sqrt {a}}\right )}{a^{5/2} n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 61, normalized size = 0.88 \begin {gather*} \frac {2 \left (a+3 \left (a+b x^n\right )\right )}{3 a^2 n \left (a+b x^n\right )^{3/2}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b x^n}}{\sqrt {a}}\right )}{a^{5/2} n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.26, size = 53, normalized size = 0.77
method | result | size |
derivativedivides | \(\frac {\frac {2}{a^{2} \sqrt {a +b \,x^{n}}}+\frac {2}{3 a \left (a +b \,x^{n}\right )^{\frac {3}{2}}}-\frac {2 \arctanh \left (\frac {\sqrt {a +b \,x^{n}}}{\sqrt {a}}\right )}{a^{\frac {5}{2}}}}{n}\) | \(53\) |
default | \(\frac {\frac {2}{a^{2} \sqrt {a +b \,x^{n}}}+\frac {2}{3 a \left (a +b \,x^{n}\right )^{\frac {3}{2}}}-\frac {2 \arctanh \left (\frac {\sqrt {a +b \,x^{n}}}{\sqrt {a}}\right )}{a^{\frac {5}{2}}}}{n}\) | \(53\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 67, normalized size = 0.97 \begin {gather*} \frac {\log \left (\frac {\sqrt {b x^{n} + a} - \sqrt {a}}{\sqrt {b x^{n} + a} + \sqrt {a}}\right )}{a^{\frac {5}{2}} n} + \frac {2 \, {\left (3 \, b x^{n} + 4 \, a\right )}}{3 \, {\left (b x^{n} + a\right )}^{\frac {3}{2}} a^{2} n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.42, size = 230, normalized size = 3.33 \begin {gather*} \left [\frac {3 \, {\left (\sqrt {a} b^{2} x^{2 \, n} + 2 \, a^{\frac {3}{2}} b x^{n} + a^{\frac {5}{2}}\right )} \log \left (\frac {b x^{n} - 2 \, \sqrt {b x^{n} + a} \sqrt {a} + 2 \, a}{x^{n}}\right ) + 2 \, {\left (3 \, a b x^{n} + 4 \, a^{2}\right )} \sqrt {b x^{n} + a}}{3 \, {\left (a^{3} b^{2} n x^{2 \, n} + 2 \, a^{4} b n x^{n} + a^{5} n\right )}}, \frac {2 \, {\left (3 \, {\left (\sqrt {-a} b^{2} x^{2 \, n} + 2 \, \sqrt {-a} a b x^{n} + \sqrt {-a} a^{2}\right )} \arctan \left (\frac {\sqrt {b x^{n} + a} \sqrt {-a}}{a}\right ) + {\left (3 \, a b x^{n} + 4 \, a^{2}\right )} \sqrt {b x^{n} + a}\right )}}{3 \, {\left (a^{3} b^{2} n x^{2 \, n} + 2 \, a^{4} b n x^{n} + a^{5} n\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 860 vs.
\(2 (58) = 116\).
time = 2.45, size = 860, normalized size = 12.46 \begin {gather*} \frac {8 a^{7} \sqrt {1 + \frac {b x^{n}}{a}}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} + \frac {3 a^{7} \log {\left (\frac {b x^{n}}{a} \right )}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} - \frac {6 a^{7} \log {\left (\sqrt {1 + \frac {b x^{n}}{a}} + 1 \right )}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} + \frac {14 a^{6} b x^{n} \sqrt {1 + \frac {b x^{n}}{a}}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} + \frac {9 a^{6} b x^{n} \log {\left (\frac {b x^{n}}{a} \right )}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} - \frac {18 a^{6} b x^{n} \log {\left (\sqrt {1 + \frac {b x^{n}}{a}} + 1 \right )}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} + \frac {6 a^{5} b^{2} x^{2 n} \sqrt {1 + \frac {b x^{n}}{a}}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} + \frac {9 a^{5} b^{2} x^{2 n} \log {\left (\frac {b x^{n}}{a} \right )}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} - \frac {18 a^{5} b^{2} x^{2 n} \log {\left (\sqrt {1 + \frac {b x^{n}}{a}} + 1 \right )}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} + \frac {3 a^{4} b^{3} x^{3 n} \log {\left (\frac {b x^{n}}{a} \right )}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} - \frac {6 a^{4} b^{3} x^{3 n} \log {\left (\sqrt {1 + \frac {b x^{n}}{a}} + 1 \right )}}{3 a^{\frac {19}{2}} n + 9 a^{\frac {17}{2}} b n x^{n} + 9 a^{\frac {15}{2}} b^{2} n x^{2 n} + 3 a^{\frac {13}{2}} b^{3} n x^{3 n}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{x\,{\left (a+b\,x^n\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________